package com.fy.fyspace.constant;

/**
 * 结果消息常量
 */
public interface ResultMessageConstant {
    String NOT_LOGIN_ERROR = "未登录";
    String NO_AUTH_ERROR = "无权限";
    String SYSTEM_ERROR = "系统内部异常";
    String OPERATION_ERROR = "操作失败";

    // 用户相关错误码
    String USER_NOT_FOUND = "用户不存在";
    String PASSWORD_ERROR = "密码错误";
    String USER_BANNED = "账号被禁用";
    String LOGIN_EXPIRED = "登录超时";

    // 验证码相关错误码
    String CAPTCHA_ERROR = "图形验证码错误";
    String CAPTCHA_PARAM_ERROR = "图形验证码不能为空";

    // 文件相关错误码
    String INSUFFICIENT_SPACE = "空间不足请扩容";

    // 分享相关错误码
    String PARAMS_ERROR = "参数错误";
    String SEARCH_ERROR = "搜索失败";
    String FILE_SIZE_ERROR = "文件不能大于5MB";
    String SPACE_NOT_FOUND = "空间不存在";
    String NOT_LOGIN = "用户未登录";

    // 团队空间相关
    String TEAM_MEMBER_NOT_EXIST_OR_DISABLED = "团队成员不存在或已被禁用";
    String TEAM_MEMBER_ROLE_NOT_CONFIGURED = "团队成员角色未配置"; //团队成员角色未配置

    // 文件上传相关
    String UPLOADING="uploading";
    String UPLOAD_SUCCESS = "upload_finish";
    String UPLOAD_SECONDS = "upload_seconds";
    String FILE_NOT_FOUND = "文件不存在";
    String NOT_YOUR = "这tm不是你的文件！";
    String EMAIL_CODE_EXPIRED = "邮箱验证码已过期";
    String EMAIL_CODE_ERROR = "邮箱验证码错误";
    String NOT_BIND_EMAIL = "未找到绑定此邮箱的账号";
    String REQUEST_TOO_FREQUENTLY = "请求过于频繁，请稍后再试";
    String SHARE_NOT_EXIST = "分享不存在";
    String CODE_ERROR = "分享码错误";
    String CODE_NOT_NULL = "分享码不能为空";


    String EXISTS = "已存在";
    String UNKNOWN_ERROR = "未知异常";
    String EMAIL_EXIST = "邮箱已经被其他账号绑定！";
    String USERNAME_EXIST = "用户名被占用";
    String GRAPHIC_CAPTCHA_ERROR = "图形验证码错误";
    String EMAIL_CODE_ERROR_OR_TIME_OUT = "邮箱验证码错误或过期";
    String PASS_WORD_ERROR = "密码错误";
    String LOGIN_ERROR = "登录异常";
    String SHARE_CODE_ERROR = "分享码错误!";
    String SHARE_EXPIRE_ERROR = "分享已过期!";
    String ACCOUNT_DEACTIVATED_ERROR = "账号被禁用,请联系开发者!@QQ: 2285114622";
    String LOW_SPACE_ERROR = "分配空间小于已使用空间 请重新分配!";
    String BUSINESS_ERROR = "登录超时 请重新登录!";
    String NOT_ADMIN = "你没有管理权限!!!";
    String ADMIN_OSS_COUNT_TITLE = "OSS系统空间使用情况";
    String SPACE_FULL = "空间充足无需扩容!";
    String USER_SPACE_TITLE = "用户空间使用情况";
    String OUT_PASS_WORD_ERROR = "密码错误次数过多,账号被锁定!";
    String SHARE_FILE_EXPIRED = "分享文件已失效!";
    String DOWNLOAD_LINK_EXPIRED = "下载链接已失效";
    String PROCESS_FILE_FAIL = "文件处理失败";
    String REQUEST_LIMIT = "请求过于频繁，请稍后再试";
    String PLEASE_LOGIN = "老弟,请先登录!";
    String ACCOUNT_EXISTS = "账号已存在";
}
